/*
 by txdnet.cn Tonydon
 */
package txdnet.util;

/**
 *
 * @author txdnet
 */
public final class StaticMark {

    private StaticMark() {
    }
    /* 日期格式定义 */
    public static final String DTM_YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss";
    public static final String DTM_YYYYMMDD_HHMMSS = "yyyyMMdd HHmmss";
    public static final String DTM_YYYYMMDDHHMMSSSSS = "yyyyMMddHHmmssSSS";
    public static final String DTM_YYMMDDHHMMSS = "yyMMddHHmmss";
    public static final String DTM_HHMMSSSSS = "HHmmssSSS";
    public static final String DTM_HHMMSS = "HHmmss";
    public static final String DTM_YYYY_MM_DD = "yyyy-MM-dd";
    public static final String DTM_YYYYMMDD = "yyyyMMdd";
    //文件上传扩展定义
    public static final String UPLOAD_IMG_TYPE = "jpg|png|gif|JPG|PNG|GIF";
    // 缓冲大小定义
    public static final int IO_BUFF_CACHE = 32768;
    public static final String ENCODING_UTF8 = "UTF-8";
    public static final String ENCODING_GBK = "GBK";
    public static final char CHAR_SLASH = '/';
    public static final char CHAR_BACK_SLASH = '\\';
    public static final char CHAR_COMMA = ',';
    public static final char CHAR_LINE = '-';
    public static final char CHAR_UNDER_LINE = '_';
    public static final char CHAR_VERTICAL_LINE = '|';
    public static final char CHAR_DOT = '.';
    public static final char CHAR_EQUAL = '=';
    public static final char CHAR_AND = '&';
    public static final char CHAR_PERCENT = '%';
    public static final String STR_SLASH =  "/";
    public static final String STR_BACK_SLASH = "\\";
    public static final String STR_COMMA = ",";
    public static final String STR_LINE = "-";
    public static final String STR_UNDER_LINE = "_";
    public static final String STR_VERTICAL_LINE = "|";
    public static final String STR_DOT = ".";
    public static final String STR_EQUAL = "=";
    public static final String STR_AND = "&";
    public static final String STR_PERCENT = "%";
    public static final String STR_EMPTY = "";
    public static final Integer INTEGER_ZERO = new Integer("0");
    public static final Float FLOAT_ZERO = new Float("0");
    public static final Double DOUBLE_ZERO = new Double("0");
    public static final Byte BYTE_ZERO = new Byte("0");
    public static final Long LONG_ZERO = new Long("0");
    // 正则
    public static final String REGEX_CLEAR_XML = "(<[.[^<]]*>)|\n|\r" ;
}